﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharedLib.WinFormMVCFramework;
using Tracy.DataModel;
using SharedLib;

namespace TracyGUI.View
{
    /// <summary>
    /// Interface of Entry View, for adding or modifying an entry
    /// </summary>
    interface IEntryView : IFormView
    {
        void LoadEntry(Entry entry);
        void RefreshEntry(Entry entry);

        void LoadFilterSets(List<FilterSet> filterSetList, List<bool> selectedList, List<string> countList, List<string> exampleList);
        void PrepareForEntryCreation();
        event EventHandler<GenericEventArgs<Entry>> EntryChanging;
        event EventHandler<GenericEventArgs<Entry>> Search;
        event EventHandler<EnhancedEventArgs> FilterSetContextMenuOpening;
        event EventHandler<GenericEventArgs<FilterSet>> FilterSetMatchedResultsShowing;
        List<FilterSet> SelectedFilterSets
        {
            get;
        }
    }
}
